package com.cyy.bean;

public class loginRecord extends user{
    String loginTime;
    int identity;

    public loginRecord(String name, String pwd, String email, String registerTime, String loginTime, int identity) {
        super(name, pwd, email, registerTime);
        this.loginTime = loginTime;
        this.identity = identity;
    }

    @Override
    public String toString() {
        return "loginRecord{" +
                "loginTime='" + loginTime + '\'' +
                ", identity=" + identity +
                ", name='" + name + '\'' +
                ", pwd='" + pwd + '\'' +
                ", email='" + email + '\'' +
                ", registerTime='" + registerTime + '\'' +
                ", address='" + address + '\'' +
                ", phone='" + phone + '\'' +
                '}';
    }

    public String getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(String loginTime) {
        this.loginTime = loginTime;
    }

    public int getIdentity() {
        return identity;
    }

    public void setIdentity(int identity) {
        this.identity = identity;
    }
}
